package com.woniu.mapper;

import com.woniu.pojo.Gym;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.vo.GymQueryImgVo;
import com.woniu.vo.GymQueryVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author dong
 * @since 2022-10-12
 */
public interface GymMapper extends BaseMapper<Gym> {

    List<Gym> selectGymAll();

    List<Gym> selectByName(@Param("name") String name);

    List<GymQueryImgVo> selectByImg(@Param("id") String id);
}
